export default {
  deviewCodeName: 'calendar_layout_month',
  deviewId: '12f9b8205a9d8ad628129c55a68d235a',
  appWFId: 'workflow',
  accUserMode: 3,
  capLanguageRes: {
    lanResTag: 'DE.LNAME.MASTER',
  },
  caption: '日历_项布局_月',
  codeName: 'master_calendar_layout_month',
  appDataEntityId: 'web.master',
  appViewMsgGroupId: 'calendar_layout',
  viewLayoutPanel: {
    viewProxyMode: true,
    layoutMode: 'FLEX',
    layout: {
      layout: 'FLEX',
    },
    rootPanelItems: [
      {
        caption: '日历',
        itemStyle: 'DEFAULT',
        itemType: 'CTRLPOS',
        layoutPos: {
          shrink: 1,
          layout: 'FLEX',
          spacingLeft: 'INNERMEDIUM',
          spacingRight: 'INNERMEDIUM',
        },
        showCaption: true,
        id: 'calendar',
      },
    ],
    layoutPanel: true,
    controls: [
      {
        calendarStyle: 'MONTH',
        groupMode: 'NONE',
        legendPos: 'NONE',
        sysCalendarItems: [
          {
            beginTimeAppDEFieldId: 'start_time',
            contentAppDEFieldId: 'name',
            endTimeAppDEFieldId: 'end_time',
            idAppDEFieldId: 'id',
            itemStyle: 'DEFAULT',
            itemType: 'master',
            appDEDataSetId: 'fetch_default',
            layoutPanel: {
              layoutMode: 'FLEX',
              layout: {
                layout: 'FLEX',
              },
              rootPanelItems: [
                {
                  actionGroupExtractMode: 'ITEM',
                  panelItems: [
                    {
                      actionGroupExtractMode: 'ITEM',
                      panelItems: [
                        {
                          editor: {
                            halign: 'LEFT',
                            renderMode: 'TEXT_DYNAMIC',
                            valign: 'MIDDLE',
                            wrapMode: 'NOWRAP',
                            editorType: 'SPAN',
                            predefinedType: 'FIELD_TEXT_DYNAMIC',
                            valueType: 'SIMPLE',
                            editable: true,
                            id: 'name',
                          },
                          viewFieldName: 'name',
                          allowEmpty: true,
                          caption: '文本(动态)',
                          itemStyle: 'DEFAULT',
                          itemType: 'FIELD',
                          layoutPos: {
                            shrink: 1,
                            layout: 'FLEX',
                          },
                          id: 'name',
                        },
                        {
                          rawItem: {
                            sysImage: {
                              cssClass: 'fa fa-tags',
                              glyph: 'xf02c@FontAwesome',
                            },
                            contentType: 'IMAGE',
                            predefinedType: 'STATIC_IMAGE',
                            rawItemHeight: 16,
                            id: 'static_image',
                          },
                          caption: '图片',
                          contentHeight: 16,
                          height: 16,
                          itemStyle: 'DEFAULT',
                          itemType: 'RAWITEM',
                          layoutPos: {
                            shrink: 1,
                            height: 16,
                            heightMode: 'PX',
                            layout: 'FLEX',
                            spacingLeft: 'OUTERSMALL',
                          },
                          sysImage: {
                            cssClass: 'fa fa-tags',
                            glyph: 'xf02c@FontAwesome',
                          },
                          showCaption: true,
                          id: 'static_image',
                        },
                      ],
                      layout: {
                        dir: 'row',
                        layout: 'FLEX',
                      },
                      dataRegionType: 'INHERIT',
                      caption: '容器',
                      itemStyle: 'DEFAULT',
                      itemType: 'CONTAINER',
                      layoutPos: {
                        shrink: 1,
                        layout: 'FLEX',
                      },
                      id: 'container1',
                    },
                  ],
                  layout: {
                    layout: 'FLEX',
                  },
                  dataRegionType: 'INHERIT',
                  caption: '容器',
                  itemStyle: 'DEFAULT',
                  itemType: 'CONTAINER',
                  layoutPos: {
                    shrink: 1,
                    layout: 'FLEX',
                  },
                  id: 'container',
                },
              ],
              layoutPanel: true,
              codeName: 'usr0515490940',
              controlType: 'PANEL',
              logicName: '日历_项布局面板',
              appDataEntityId: 'web.master',
              controlParam: {},
              modelId: '46da009e9d82a2836d629283c646fc43',
              modelType: 'PSSYSVIEWPANEL',
              name: 'masterlayoutpanel',
              id: 'web.master.usr0515490940',
            },
            textAppDEFieldId: 'name',
            appDataEntityId: 'web.master',
            name: '主数据',
            id: 'master',
          },
        ],
        navViewPos: 'NONE',
        autoLoad: true,
        showBusyIndicator: true,
        codeName: 'calendar_layout_month',
        controlType: 'CALENDAR',
        logicName: '日历_项布局_月',
        appDataEntityId: 'web.master',
        controlParam: {
          id: 'calendar',
        },
        modelId: '12f9b8205a9d8ad628129c55a68d235a',
        modelType: 'PSSYSCALENDAR',
        name: 'calendar',
        id: 'web.master.calendar_layout_month',
      },
      {
        capLanguageRes: {
          lanResTag: 'DE.LNAME.MASTER',
        },
        caption: '日历_项布局_月',
        codeName: 'calendar_layout_month_captionbar',
        controlType: 'CAPTIONBAR',
        appDataEntityId: 'web.master',
        controlParam: {},
        name: 'captionbar',
        id: 'calendar_layout_month_captionbar',
      },
    ],
    codeName: 'auto41559174',
    controlType: 'VIEWLAYOUTPANEL',
    logicName: '日历_项布局视图布局面板',
    appDataEntityId: 'web.master',
    controlParam: {},
    modelId: '45b8a34650cd0b1e82cbb7dba805d39c',
    modelType: 'PSSYSVIEWLAYOUTPANEL',
    name: 'layoutpanel',
    id: 'auto41559174',
  },
  title: '日历_项布局_月',
  viewStyle: 'DEFAULT',
  viewType: 'DECUSTOMVIEW',
  enableDP: true,
  showCaptionBar: false,
  modelId: '168379768a77b050af8649bac226e4f0',
  modelType: 'PSAPPDEVIEW',
  name: 'MASTERcalendar_layout_month',
  id: 'web.master_calendar_layout_month',
};
